Fix scaling for horizontal components of maps.
authorrobertl <robertl>
Wed, 10 Sep 2003 22:40:03 +0000 (22:40 +0000)
committerrobertl <robertl>
Wed, 10 Sep 2003 22:40:03 +0000 (22:40 +0000)
tiger.c

diff --git a/tiger.c b/tiger.c
index c847012d178f175a86aa97c2c2ad040005e1e56a..8891d32ad34e7c19925bdd077cc8c11301884d76 100644 (file)
--- a/tiger.c
+++ b/tiger.c
@@ -248,11 +248,11 @@ data_write(void)
                 * Center the map along X and Y axis the midpoint of
                 * our min and max coords each way.   
                 */
-               fprintf(urlf, "lat=%f&lon=%f&wid=%f&ht=%f",
+               fprintf(urlf, "lat=%f&lon=%f&ht=%f&wid=%f",
                                minlat + (latsz/2.0),
                                minlon + (lonsz/2.0),
                                dscale(latsz),
-                               dscale(latsz));
+                               dscale(lonsz));
 
                if (scale) {
                        fprintf(urlf, "&iwd=%s&iht=%s", scale, scale);